package com.ruoyi.squadweb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 战队管理对象 squad_match_team
 *
 * @author LJY
 * @date 2024-07-13
 */
public class SquadMatchTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 战队名字 */
    @Excel(name = "战队名字")
    private String name;

    /** 比赛场次 */
    @Excel(name = "比赛场次")
    private Long venue;

    /** 胜场 */
    @Excel(name = "胜场")
    private Long victory;

    /** 负场 */
    @Excel(name = "负场")
    private Long defeated;

    /** 积分 */
    @Excel(name = "积分")
    private Long score;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setVenue(Long venue)
    {
        this.venue = venue;
    }

    public Long getVenue()
    {
        return venue;
    }
    public void setVictory(Long victory)
    {
        this.victory = victory;
    }

    public Long getVictory()
    {
        return victory;
    }
    public void setDefeated(Long defeated)
    {
        this.defeated = defeated;
    }

    public Long getDefeated()
    {
        return defeated;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("venue", getVenue())
            .append("victory", getVictory())
            .append("defeated", getDefeated())
            .append("score", getScore())
            .toString();
    }
}
